home *** CD-ROM | disk | FTP | other *** search
/ Pro One: For Credit - High School Economics / ProOne: For Credit - Economics.iso / progfile.sfs / CUSTOM.RUL next >
Text File  |  1997-12-14  |  14KB  |  346 lines

  1. /*----------------------------------------------------------------------------*\
  2.  *  Custom.RUL
  3.  *  Sofsource Installation Package:  Program-Specific Declarations.
  4.  *  Copyright (c) 1995-1996 Sofsource, Inc.  All rights  reserved.
  5.  *  Setup script written by:  Bob Falk
  6.  *------------------------------------------------------------------------------
  7.  *  Program-specific declarations for:  Economics
  8.  *                    Last updated on:  12/14/97
  9.  *  Revision Info:
  10.  *    $Revision:   1.0  $
  11.  *    $Date:   17 Feb 1997 00:15:34  $
  12. \*----------------------------------------------------------------------------*/
  13.  
  14. #define NEW_ENGINE_LAYOUT 1
  15.   // Define the above if setup is to use the new file layout
  16.   // for products based on the educational engine.
  17. #ifdef NEW_ENGINE_LAYOUT
  18.     #define SUPPORT_DLL_SET "SET001\\"
  19.       // Use the above to specify which file "Set" the files match.
  20. #endif
  21.  
  22. #define FORCREDIT 1
  23.   // Define the above if this is a "For Credit" title based
  24.   // on the educational engine.
  25.  
  26. //=================================================================================================
  27. // The following are used in the Windows 95 Registry:
  28. //
  29. // Windows 3.x and NT NOTES:
  30. //   COMPANY_NAME, PRODUCT_NAME, and PRODUCT_VERSION are used in the [Application] section
  31. //   of SETUP.LOG files (when used).
  32. //
  33. // Windows 95 NOTES:
  34. //   COMPANY_NAME           = Used in Application Information Key
  35. //   PRODUCT_NAME           = Used in Application Information Key, also used in the screen caption,
  36. //                            several message boxes, error messages, and the log file.
  37. //   PRODUCT_VERSION        = Used in Application Information Key
  38. //   APP_PATHS_KEY_EXENAMES = Used in the Per Application Paths key.  Use ONLY ONE EXE name, UNLESS
  39. //                            the EXEs are all in the same subdirectory.  If not in the same subdir
  40. //                            then only the first EXE will have an App Paths key, and it must be the
  41. //                            same as EXE_FILENAME_1 (below).
  42. //                            The Registry can handle more, but InstallShield cannot.
  43. //   DEINSTALL_KEY          = Used in the Application Uninstallation Key
  44. //   The "Add/Remove Programs" applet, in the Windows 95 Control Panel folder, will list
  45. //   (as [DisplayName]) the program as a combination of PRODUCT_NAME + ' v' + PRODUCT_VERSION.
  46. //
  47. #define COMPANY_NAME           "Sofsource, Inc."
  48. #define PRODUCT_NAME           "For Credit Economics"
  49. #define PRODUCT_VERSION        "1.33"
  50. #define APP_PATHS_KEY_EXENAMES "ECON32.EXE;ECON16.EXE"
  51. #define DEINSTALL_KEY          "Sof402052Ver133DeinstKey"
  52.   // Used as:  InstallationInfo( COMPANY_NAME, PRODUCT_NAME, PRODUCT_VERSION, APP_PATHS_KEY_EXENAMES );
  53.   //           RegDBSetItem( REGDB_UNINSTALL_NAME, PRODUCT_NAME + ' v' + PRODUCT_VERSION );
  54.   //           DeinstallStart( svDestPath, svUninstLogFile, DEINSTALL_KEY, 0 );
  55.  
  56. // The EXTRAICONS_APP_NAME is used for icons related to the main program, such as for READ.ME files.
  57. // The icon title might be something like "WC Encyclopedia Read Me" rather than the ridiculously
  58. // long "Webster's Concise Encyclopedia Read Me".  If the PRODUCT_NAME is less than about 18 characters
  59. // in length, then EXTRAICONS_APP_NAME should be the same as PRODUCT_NAME.  In Windows 95, any title
  60. // longer than 17 characters will appear with ellipses (...).
  61. //                      !!! |-----------------| 17 chars max length !!!
  62. #define EXTRAICONS_APP_NAME "Economics"
  63. //#define EXTRAICONS_APP_NAME PRODUCT_NAME
  64.  
  65. //----- Base (Default) Destination Paths:
  66. #ifdef NEW_ENGINE_LAYOUT
  67.     #define APPBASE_DIR3X   "FORCRED\\"
  68.     #define APPBASE_DIR95   "For Credit\\"
  69.     #define APPPROG_DIR3X   "Economic\\"
  70.     #define APPPROG_DIR95   "Economics\\"
  71.     #define APPSET_PATH     SUPPORT_DLL_SET
  72.     #define APPCD_PATH      "\\Economic\\"
  73. #else
  74.     #define APPBASE_PATH3X      "FORCRE~1\\x\\"
  75.     #define APPBASE_PATH95      "For Credit\\x\\"
  76. #endif
  77.  
  78.  
  79. //----- Define the items that MUST match LAUNCHER.PAS:
  80. //        Windows 95.  This will typically be "C:\Sofsource" and will always be on the same
  81. //        drive as Windows 95 itself, regardless of the installation target (destination).
  82. // This also must match the cSectionName in LAUNCHER.PAS.
  83. // This should be 70-characters max.  If longer, you'll need to edit the Perm Setup Log details.
  84. //#define PROGRAM_FOLDER_NAME     "Sofsource"
  85. #define PROGRAM_FOLDER_NAME     "For Credit"
  86. //#define PROGRAM_FOLDER_NAME     "Premier"
  87. #define APP_UPC_CODE        "40205-2"
  88.   // APP_UPC_CODE 30-chars max.  If longer, you'll need to edit the Perm Setup Log details.
  89. #define PRODUCT_ID_FILENAME "ID402052.ID_"
  90.  
  91.  
  92. //=================================================================================================
  93. #define NUM_EXES_PRESENT 1
  94.   // Set the above to the number of executable files
  95.   // belonging to the product, FOR WHICH ICONS WILL BE MADE
  96.   // *** Use "-1" when WINHELP.EXE should execute a HLP file INSTEAD OF AN EXE ***
  97.   // *** Use "-1" when there is no executable, only a help file ***
  98.  
  99. //#define NEEDS_HELPFILE_ICON 1
  100.   // Define the above if WINHELP.EXE should execute a HLP file
  101.   // IN ADDITION TO the normal EXE file handling (above).
  102.   // Use this when there is both an executable(s) AND a HLP file.
  103.  
  104.  
  105. #define SPECIAL_CASE_16AND32BOTH 1
  106.   // Define the above if this program has both a 16 and 32-bit EXE on the CD.
  107.  
  108. #define SPECIAL_CONDITIONAL_FILES 1
  109.   // Define the above if there are special files in "\PgCndtnl\" that should only
  110.   // be installed into the program directory if they are not already present.
  111.  
  112. #ifdef SPECIAL_CONDITIONAL_FILES
  113.     #define CONDFILE_COMPPATH  "PGCNDTNL\\"
  114.     #define CONDFILE_SIZE  17909
  115.     #define NUM_CONDITIONAL_FILES 6
  116.     #ifdef NUM_CONDITIONAL_FILES >= 1
  117.         #define CONDFILE1_NAME "STUDENTS.DBF"
  118.     #endif
  119.     #ifdef NUM_CONDITIONAL_FILES >= 2
  120.         #define CONDFILE2_NAME "STUDENTS.NSX"
  121.     #endif
  122.     #ifdef NUM_CONDITIONAL_FILES >= 3
  123.         #define CONDFILE3_NAME "STUDENTS.SMT"
  124.     #endif
  125.     #ifdef NUM_CONDITIONAL_FILES >= 4
  126.         #define CONDFILE4_NAME "PROGRESS.DBF"
  127.     #endif
  128.     #ifdef NUM_CONDITIONAL_FILES >= 5
  129.         #define CONDFILE5_NAME "PROGRESS.NSX"
  130.     #endif
  131.     #ifdef NUM_CONDITIONAL_FILES >= 6
  132.         #define CONDFILE6_NAME "PROGRESS.SMT"
  133.     #endif
  134. #endif
  135.  
  136. #ifdef NEW_ENGINE_LAYOUT
  137.     #define SETFILE_COMPPATH  "SetFiles\\"
  138.     #define SETFILE_SIZE  512000
  139.     //#define SETFILE1_NAME "SMACKW16.DLL"
  140.     //#define SETFILE2_NAME "SMACKE16.DLL"
  141.     //#define SETFILE3_NAME "SMACKW32.DLL"
  142.     //#define SETFILE4_NAME "MSS16.DLL"
  143.     //#define SETFILE5_NAME "MSS32.DLL"
  144.     //#define SETFILE6_NAME "MSSB16.TSK"
  145. #endif
  146.  
  147. //=================================================================================================
  148. // Documentation/READ-ME file definitions:
  149.  
  150. // Define the following if a README file is present
  151. #define DOCUMENTATION_PRESENT 1
  152. #ifdef DOCUMENTATION_PRESENT
  153.     #define DOC_FILE_NAME "Economic.TXT"
  154.     #define DOC_ICON_NAME '"Economics Read Me"'
  155. #endif
  156.   // NOTE:  For Icon Names, single-quotes enclose the double-quotes.  This doesn't matter
  157.   //        under Windows 95, but is important under Windows 3.x and NT.  In the latter cases,
  158.   //        without the extra single quotes, you could not use special characters (such as
  159.   //        commas or parentheses) in the name.  Of course, now you'll need to use an
  160.   //        Escape Sequence to place a single quote in the name (i.e. "\'" instead of "'").
  161.  
  162. //=================================================================================================
  163. // Executable and Icon File Definitions:
  164.  
  165. #ifdef NUM_EXES_PRESENT >= 1
  166. // In Windows 95 only the first 17 chars appear, remaining chars are replaced with ellipses (...)
  167. //                        !!! |-----------------| 17 chars max length
  168.     #define PROGICON_NAME_1 '"Economics"'
  169.     #ifdef SPECIAL_CASE_16AND32BOTH
  170.         #define EXE_FILENAME16_1  "Econ16.EXE"
  171.         #define ICON_FILENAME16_1 "Econ16.EXE"
  172.         #define EXE_FILENAME32_1  "Econ32.EXE"
  173.         #define ICON_FILENAME32_1 "Econ32.EXE"
  174.     #else
  175.         #define EXE_FILENAME_1  "?.EXE"
  176.         #define ICON_FILENAME_1 "?.ICO"
  177.     #endif
  178. #endif
  179. #ifdef NUM_EXES_PRESENT >= 2
  180.     #define PROGICON_NAME_2 '""'
  181.     #define EXE_FILENAME_2  ""
  182.     #define ICON_FILENAME_2 ""
  183. #endif
  184. #ifdef NUM_EXES_PRESENT >= 3
  185.     #define PROGICON_NAME_3 '""'
  186.     #define EXE_FILENAME_3  ""
  187.     #define ICON_FILENAME_3 ""
  188. #endif
  189. #ifdef NUM_EXES_PRESENT >= 4
  190.     #define PROGICON_NAME_4 '""'
  191.     #define EXE_FILENAME_4  ""
  192.     #define ICON_FILENAME_4 ""
  193. #endif
  194. #ifdef NUM_EXES_PRESENT = -1
  195.     #define HELP_NAME_1 '"???"'
  196.     #define HLP_FILE_1  "???.HLP"
  197. #endif
  198. #ifdef NEEDS_HELPFILE_ICON
  199.     #define HELP_NAME_1 '"??? Help"'
  200.     #define HLP_FILE_1  "???.HLP"
  201. #endif
  202.  
  203.  
  204. //=================================================================================================
  205. // Special Case Involving Running From CD-ROM
  206.  
  207. #define CDROM_ALWAYS_REQUIRED 1
  208.   // Define the above if the CD-ROM must always be inserted to use the program
  209.  
  210.  
  211. //#define EXE_RUN_FROM_CDROM 1
  212.   // Define the above if the EXE is started from the CD-ROM
  213.  
  214. #ifdef EXE_RUN_FROM_CDROM
  215.     #ifdef NUM_EXES_PRESENT >= 1
  216.         #define SRC_PATH_1_ON_CDROM "\\x\\"  // Always terminate with a backslash
  217.     #endif
  218.     #ifdef NUM_EXES_PRESENT >= 2
  219.         #define SRC_PATH_2_ON_CDROM "\\x\\"  // Always terminate with a backslash
  220.     #endif
  221.     #ifdef NUM_EXES_PRESENT >= 3
  222.         #define SRC_PATH_3_ON_CDROM "\\x\\"  // Always terminate with a backslash
  223.     #endif
  224.     #ifdef NUM_EXES_PRESENT >= 4
  225.         #define SRC_PATH_4_ON_CDROM "\\x\\"  // Always terminate with a backslash
  226.     #endif
  227. #endif
  228.  
  229.  
  230. //#define WORKING_DIR_ON_CDROM 1
  231.   // Define the above if the working directory should be on the CD-ROM
  232.   // otherwise the working directory will be the installation target directory
  233.  
  234. #ifdef WORKING_DIR_ON_CDROM
  235.     #ifdef NUM_EXES_PRESENT >= 1
  236.         #define WORK_PATH_1_ON_CDROM "\\x\\"  // Always terminate with a backslash
  237.     #endif
  238.     #ifdef NUM_EXES_PRESENT >= 2
  239.         #define WORK_PATH_2_ON_CDROM "\\x\\"  // Always terminate with a backslash
  240.     #endif
  241.     #ifdef NUM_EXES_PRESENT >= 3
  242.         #define WORK_PATH_3_ON_CDROM "\\x\\"  // Always terminate with a backslash
  243.     #endif
  244.     #ifdef NUM_EXES_PRESENT >= 4
  245.         #define WORK_PATH_4_ON_CDROM "\\x\\"  // Always terminate with a backslash
  246.     #endif
  247. #endif
  248.  
  249.  
  250. //=================================================================================================
  251. //----- SPECIAL-CASE Definitions:
  252.  
  253. //#define REQUIRES_INI_FILE_ENTRIES 1
  254.   // Define the above if special INI file entries need to be made
  255.  
  256. //#define REQUIRES_FONT_ENTRY_IN_WININI 1
  257.   // Define the above if this is an old program which will not find it's fonts
  258.   // unless they are duplicated in WIN.INI under Windows 95 and Windows NT.
  259.   // Such fonts will still be properly installed in the registry.
  260.  
  261. // The special-case is on the CD-ROM version only, not the diskette version:
  262. #ifdef EXE_RUN_FROM_CDROM
  263.     //#define SPECIAL_CASE_TERM_PAPER 1
  264.       // Define the above if this is Term Paper (CD-ROM Full or Brain-Damaged Version)
  265.       // Also define REQUIRES_INI_FILE_ENTRIES
  266.  
  267.     //#define SPECIAL_CASE_BOOK_REPORT 1
  268.       // Define the above if this is Book Report (CD-ROM Full or Brain-Damaged Version)
  269.       // Also define REQUIRES_INI_FILE_ENTRIES
  270. #endif
  271.  
  272. //#define SPECIAL_CASE_RESUME 1
  273.   // Define the above if this is Windows Resume
  274.   // Also define REQUIRES_INI_FILE_ENTRIES
  275.  
  276. //#define SPECIAL_CASE_MM_TRIVIA 1
  277.   // Define the above if this is Multimedia Trivia
  278.  
  279. //#define SPECIAL_CASE_WINDOWS_MADE_EASY 1
  280.   // Define the above if this is Windows Made Easy
  281.  
  282. //#define SPECIAL_CASE_TYPING_TEACHER 1
  283.   // Define the above if this is Multimedia Typing Teacher
  284.  
  285. //#define SPECIAL_CASE_EASY_TUTORIAL_WIN95 1
  286.   // Define the above if this is Easy Tutorial for Windows 95
  287.  
  288. //#define SPECIAL_CASE_OFFICE_SUITE 1
  289.   // Define the above if this is Office Suite
  290.  
  291. //#define SPECIAL_CASE_3DIT
  292.   // Define the above if this is 3D-It
  293.   // Also define REQUIRES_INI_FILE_ENTRIES
  294.  
  295. //#define SPECIAL_CASE_WEBSTERS_HME95 1
  296.   // Define the above if this is Webster's Concise Encyclopedia 1995 edition
  297.   // Also define REQUIRES_INI_FILE_ENTRIES
  298.  
  299.  
  300. //=================================================================================================
  301. // Requirements definitions:
  302.  
  303.   //----- VIDEO FOR WINDOWS:
  304.   //
  305. //#define REQUIRES_VFW 1
  306.   // Define the above if Video For Windows is required
  307.  
  308.   //----- WinG:
  309.   //
  310. //#define REQUIRES_WinG 1
  311.   // Define the above if WinG is required (for program, not SetupWNG)
  312.  
  313.   //----- Speaker Driver
  314.   //
  315. //#define REQUIRES_SPEAKER_DRIVER 1
  316.   // Define the above if the speaker driver should be installed
  317.  
  318.  
  319.   //----- Processor requirements (overridden by VFW):
  320. #ifdef REQUIRES_VFW
  321.     #define REQUIRES_80386 1
  322. #else
  323.       //--- CPU REQUIREMENTS:
  324.       //
  325.     //#define REQUIRES_80286   1
  326.     #define REQUIRES_80386   1
  327.     //#define REQUIRES_80486   1
  328.     //#define REQUIRES_PENTIUM 1
  329. #endif
  330.  
  331.  
  332. //#define REQUIRES_WINDOWS95      1
  333.   // Define the above if Windows 95 is required.
  334.   // If Windows 95 is required, then define the following if
  335.   // the program will also run under Windows NT and/or Win32s.
  336.   // APP_IS_32BIT should be defined for 32-bit programs (this
  337.   // is intended for future use).
  338.  
  339. #ifdef REQUIRES_WINDOWS95
  340.     #define OK_WINDOWSNT 1
  341.     //#define OK_WIN32S    1
  342.     //#define APP_IS_32BIT 1
  343. #endif
  344.  
  345. // eof CUSTOM.RUL
  346.